package com.example.demo.converter;

import com.example.demo.dto.UserSaveDto;
import com.example.demo.entity.User;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface UserConverter {

    UserConverter INSTANCE = Mappers.getMapper(UserConverter.class);

    User toUser(UserSaveDto dto);
}
